package com.ant.collect.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzd
 * @since 2025-10-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("industry_information")
@ApiModel(value="IndustryInformation对象", description="")
public class IndustryInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("dic_name")
    private String dicName;

    @TableField("dic_value")
    private String dicValue;

    @TableField("dic_type")
    private Integer dicType;

    // 子节点集合（递归查询时存储子节点）
    @TableField(exist = false) // 非数据库字段
    private List<IndustryInformation> children;


}
